package com.wangxinenpu.springbootdemo.dataobject.vo.process;

import lombok.Data;
import org.activiti.engine.RepositoryService;

import java.util.Date;
import java.util.Map;

@Data
public class ProcessInstanceVO {
    private String processDefinitionId;

    /**
     * The name of the process definition of the process instance.
     */
    private String processDefinitionName;

    /**
     * The key of the process definition of the process instance.
     */
    private String processDefinitionKey;

    /**
     * The version of the process definition of the process instance.
     */
    private  Integer processDefinitionVersion;

    /**
     * The deployment id of the process definition of the process instance.
     */
    private String deploymentId;

    /**
     * The business key of this process instance.
     */
    private String businessKey;

    /**
     * returns true if the process instance is suspended
     */
    private boolean suspended;

    /**
     * Returns the process variables if requested in the process instance query
     */
    private Map<String, Object> processVariables;

    /**
     * The tenant identifier of this process instance
     */
    private String tenantId;

    /**
     * Returns the name of this process instance.
     */
    private String name;

    /**
     * Returns the description of this process instance.
     */
    private String description;

    /**
     * Returns the localized name of this process instance.
     */
    private String localizedName;

    /**
     * Returns the localized description of this process instance.
     */
    private String localizedDescription;

    /**
     * Returns the start time of this process instance.
     */
    private Date startTime;

    /**
     * Returns the user id of this process instance.
     */
    private String startUserId;

    private String id;

    /**
     * Indicates if the execution is suspended.
     */
    private boolean isSuspended;

    /**
     * Indicates if the execution is ended.
     */
    private boolean isEnded;

    /**
     * Returns the id of the activity where the execution currently is at. Returns null if the execution is not a 'leaf' execution (eg concurrent parent).
     */
    private String activityId;

    /**
     */
    private String processInstanceId;

    /**
     * s the id of the parent of this execution. If null, the execution represents a process-instance.
     */
    private  String parentId;

    /**
     * s the id of the super execution of this execution.
     */
    private String superExecutionId;

    /**
     * Id of the root of the execution tree representing the process instance that has no super execution.
     */
    private  String rootProcessInstanceId;

    /**
     * Returns Id of the process instance related to the super execution of this execution.
     */
    private  String parentProcessInstanceId;







}
